﻿<%@ Page Title="Đăng nhập" Language="C#" MasterPageFile="~/Shared/Main.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div class ="formBox">
        <div style ="height:250px; width:60%; float:left;">
            <h2>
               
                <asp:Image ID="Image1" runat="server" Height="50px" ImageUrl="~/Images/AdminIcon1.png" />
                Đăng Nhập
            </h2>
            <div class = "alignL">
            <p> 
            Tên đăng nhập:<asp:TextBox ID="txtTenDangNhap" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="Tên đăng nhập không được trống" ForeColor="Red" 
                    ControlToValidate="txtTenDangNhap">*</asp:RequiredFieldValidator>
            </p>
            </div>
            <div class = "alignL">
            <p>     
                      &nbsp;&nbsp;&nbsp;&nbsp;Mật khẩu:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtMatKhau" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ErrorMessage="Mật khẩu không được trống" ForeColor="Red" 
                          ControlToValidate="txtMatKhau">*</asp:RequiredFieldValidator>
            </p>
            </div>
            <div class="alignC">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" BorderColor="Red" 
                ForeColor="Red" HeaderText="Bảng báo:" />
            </div>

            <p>
                <asp:LinkButton ID="lnkDangNhap" runat="server" OnClick="lnkDangNhap_Click">Đăng nhập</asp:LinkButton>
            </p>
        </div>

        <asp:Image ID="Image2" runat="server" ImageAlign ="Right" ImageUrl="~/Images/KimCuongAdmin.jpg" Width="35%" />

    </div>

</asp:Content>



